 {
        
      cc.Class({
            extends: cc.Component,
            properties: {
                spBg: {
                    default: null,
                    type: cc.Sprite
                },
                spTile: {
                    default: null,
                    type: cc.Sprite
                },
                labRate: {
                    default: null,
                    type: cc.Label
                },
                labLast: {
                    default: null,
                    type: cc.Label
                }
            },
            start: function () {
            },
            bindData: function (e) {
                if (e) {
                    var t = e[0], n = e[1], o = e[2], i = "mj_az_01_" + t;
                    Global.spriteAtlas.setSpriteFrame(this.spTile, "Texture/mj_az_tiles", i), this.labRate.string = n + Global.utils.getUnit(),
                        this.labLast.string = o + "张", o <= 0 && (this.spBg.node.color = cc.color(179, 177, 177, 255),
                        this.spTile.node.color = cc.color(179, 177, 177, 255));
                }
            }
        })
    }